class firstC:
  data = 0;
  def __init__(self):    
    print "class firstC inited.."
    self.inc()
  def test(self):
    print "test function of firstC bean called,data=",self.data
    self.inc()
  def inc(self):self.data=self.data+1;
  def __repr__(self):return "firstC()"